﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="1.ascx.cs" Inherits="blackhouse.StareKino.QuartzActions.ASyncMails._1" %>
<%@ Register Src="~/ASyncMails/ReservationDetailTable.ascx" TagPrefix="uc1" TagName="ReservationDetailTable" %>
<%@ Register Src="~/ASyncMails/AdditionalInformation.ascx" TagPrefix="uc1" TagName="AdditionalInformation" %>
<%@ Import Namespace="blackhouse.Translator.Web" %>

<div style="padding: 10px 5%;">
    <p>
        <%=this.GetFormattedResource("Mails","mailS8", TranslatorFormatType.FormatString, this.Reservation.Client.FirstName, this.Reservation.Client.LastName)%>
    </p>
    <p><%=GetGlobalResourceObject("Reservation","thankBooking") %></p>
</div>
<div style="border-style: solid none solid none; border-width: 1px; border-color: #e2d8d3; font-size: 200%; font-weight: bold; padding: 15px 5% 15px 5%; background-color: #F9F4F2;">
    <%=this.GetFormattedResource("Reservation","reservationS12", TranslatorFormatType.FormatString, "<span style=\"color: #39a7c6\">"+this.Reservation.ReservationNumber+"</span>") %>
</div>
<table style="border: none; width: 90%; margin-left: 5%; margin-top: 10px">
    <tbody>
        <tr>
            <td style="width: 15%; vertical-align: top;"><%=this.GetFormattedResource("Mails","mailS9") %>:
            </td>
            <td style="font-weight: bold; width: 35%; vertical-align: top;">
                <asp:Literal runat="server" ID="ltlClientName" /><br />
                tel.
                   
                <asp:Literal runat="server" ID="ltlClientPhone" />
                ,
                   
                <br>
                e-mail:
                   
                <asp:Literal runat="server" ID="ltlClientEMail" />
            </td>
            <td style="width: 15%; vertical-align: top;"><%=this.GetFormattedResource("Reservation","reservation") %>:
            </td>
            <td style="vertical-align: top; width: 35%; font-weight: bold;">

                <asp:Literal runat="server" ID="ltlReservationPeriod" />,
                   
                <br>
                <%=this.GetFormattedResource("Mails","mailS10") %> <b>
                    <asp:Literal runat="server" ID="ltlArrivalTime" /></b>,
                   
                <br />
                <%=this.GetFormattedResource("Mails","mailS11") %>: <b>
                    <asp:Literal runat="server" ID="ltlReservationPeopleCount" /></b>
            </td>
        </tr>
    </tbody>
</table>
<uc1:ReservationDetailTable runat="server" ID="reservationDetailTable" />
<a href="<%=this.ConfirmLink %>" style="background-color: #39A7C6; background-image: url('<%=Request.Url.GetLeftPart(UriPartial.Authority) %>/Data/Sites/1/skins/starekino/images/blueButton.gif'); background-position: right center; background-repeat: no-repeat; color: #231209; font-weight: bold; margin: 20px 5% 0; padding: 20px 26px; text-align: center; text-decoration: none; text-transform: uppercase; display: block; font-size: 150%;"><%=this.GetFormattedResource("Mails","mailL1") %></a>
<p style="font-size: 90%; margin: 0px 5%; color: #564e4b">
    <%=this.GetFormattedResource("Mails","mailL2", TranslatorFormatType.FormatString, this.ConfirmLink) %>
</p>
<uc1:AdditionalInformation runat="server" id="AdditionalInformation" />
